package com.ruoyi.system.domain.vo;

/**
 * 路由显示信息
 *
 * @author ruoyi
 */

public class MetaVo {
    /**
     * 设置该路由在侧边栏和面包屑中展示的名字
     */
    private String title;

    /**
     * 设置该路由的图标，对应路径src/assets/icons/svg
     */
    private String icon;

    /**
     * 设置为true，则不会被 <keep-alive>缓存
     */
    private boolean noCache;

    /**
     * 内链地址（http(s)://开头）
     */
    private String isLink;

    /**
     * 是否固定
     */
    private boolean isAffix;

    /**
     * 选中菜单
     */
    private String activeMenu;

    /**
     * 是否缓存
     */
    private boolean isKeepAlive;

    /**
     * 是否隐藏
     */
    private boolean isHide;

    /**
     * 是否全屏
     */
    private boolean isFull;

    /**
     * 链接类型（0内链、1外链）
     */
    private boolean linkType;

    /**
     * 链接地址
     */
    private String link;

    public MetaVo() {}

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isNoCache() {
        return noCache;
    }

    public void setNoCache(boolean noCache) {
        this.noCache = noCache;
    }

    public String getIsLink() {
        return isLink;
    }

    public void setIsLink(String isLink) {
        this.isLink = isLink;
    }

    public boolean getIsAffix() {
        return isAffix;
    }

    public void setIsAffix(boolean affix) {
        isAffix = affix;
    }

    public String getActiveMenu() {
        return activeMenu;
    }

    public void setActiveMenu(String activeMenu) {
        this.activeMenu = activeMenu;
    }

    public boolean setIsKeepAlive() {
        return isKeepAlive;
    }

    public void setIsKeepAlive(boolean keepAlive) {
        isKeepAlive = keepAlive;
    }

    public boolean isHide() {
        return isHide;
    }

    public void setHide(boolean isHide) {
        isHide = isHide;
    }

    public boolean getLinkType() {
        return linkType;
    }

    public void setLinkType(boolean linkType) {
        this.linkType = linkType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public boolean getIsFull() {
        return isFull;
    }

    public void setIsFull(boolean full) {
        isFull = full;
    }

}
